package com.cosmocoder.monopoly.dao.hibernate;

import java.util.Collection;

import com.cosmocoder.monopoly.dao.RoomDao;
import com.cosmocoder.monopoly.domain.Room;
import com.cosmocoder.persistence.hibernate.HibernateDao;

public class HibernateRoomDaoImpl extends HibernateDao<Room, Long> implements RoomDao{
	public Collection<Room> getByName(String name) {
		return getByProperty("name", name);
	}
}
